home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 45
/
Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso
/
Aminet
/
disk
/
misc
/
SetFileSize.readme
< prev
next >
Wrap
Text File
|
2001-09-05
|
1KB
|
36 lines
Short: Truncate or expand a file
Author: Thomas Igracki
Uploader: Thomas@Igracki.de
Version: 1.0
Type: disk/misc
You can change the size of a file with this program.
This can be very handy, if you use the SmartFileSystem, and can't delete files anymore
from a partition formated with SFS (you get a "disc is full" error).
This is a known bug of the SFS (v1.84) with nearly full partitions.
You only have to change the size of any file on such a partition and voila
you can delete files from it again!
For example: SetFileSize <sfs-part:filename> 10
This command reduces the filesize of the file to 10 bytes, after that you can
delete this and any other file you want!
I have to thank here Neil Williams for the info that truncating files helps!
THANK YOU!
============================= Archive contents =============================
Original Packed Ratio Date Time Name
-------- ------- ----- --------- -------- -------------
765 444 41.9% 01-Jul-01 02:36:28 SetFileSize.liesmich
4656 2267 51.3% 01-Jul-01 02:36:22 SetFileSize.pi
762 434 43.0% 01-Jul-01 02:36:24 SetFileSize.readme
2428 1712 29.4% 01-Jul-01 02:37:50 SetFileSize
15272 8978 41.2% 30-Apr-97 17:41:24 VPI
-------- ------- ----- --------- --------
23883 13835 42.0% 05-Jul-101 16:04:54 5 files